<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
	</head>
	<link rel="stylesheet" type="text/css" href="css/regist.css"/>
	<script type="text/javascript" src="js/regist.js"></script>
	<body>
		<form name="form1" class="ninini" action="regist.php" onsubmit="return sub()"  method="post"  >
			<h2>欢迎免费注册</h2>
			<table style="border-collapse:collapse">
				<tr>
					<td>账&emsp;号：</td>
					<td><input type="text" name="user_id" value="" placeholder="至少6个字符" /></td>
				</tr>
				<tr>
					<td>姓&emsp;名：</td>
					<td><input type="text" name="name1" value="" placeholder="至少2个字符" /></td>
				</tr>
				<tr>
					<td>密&emsp;码：</td>
					<td><input type="password" name="password1" id="" value="" placeholder="至少6个字符" /></td>
				</tr>
				<tr>
					<td>确认密码：</td>
					<td><input type="password" name="password2" value="" placeholder="应与密码相同" /></td>
				</tr>
				<tr>
					<td>性&emsp;别：</td>
					<td>
						<input type="radio" name="sex" id="" value="" checked />男
						<input type="radio" name="sex" id="" value="" />女 <br />
					</td>
				</tr>
				<tr>
					<td>年&emsp;级：</td>
					<td>
						<select name="grade">
							<option>2019</option>
							<option>2020</option>
							<option>2021</option>
							<option>2022</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>兴趣爱好：</td>
					<td>
						<input type="checkbox" name="att[]" value="" checked />跑步
						<input type="checkbox" name="att[]" value="" />打球
						<input type="checkbox" name="att[]" value="" checked />游泳
						<input type="checkbox" name="att[]" value="" />唱歌
					</td>
				</tr>
				<tr>
					<td>联系方式：</td>
					<td><textarea name="contact"></textarea></td>
				</tr>
				<tr>
					
				</tr>
				<tr>
					<td></td> 
					<td class="button">
						<input type="reset" name="reset" value="重置" />
						<input type="submit" name="submit" value="提交" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
